package com.skjd.service;

import com.skjd.seq.exception.SeqException;

public interface Sequence {
	  /**
     * 生成下一个序列号
     *
     * @return 序列号
     * @throws SeqException 序列号异常
     */
    long nextValue(String name) throws SeqException;
}
